package com.dearbinge.data.pojo.moments;

import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 社交圈 实体类
 *
 * @author wes
 * @date 2019/1/12
 */
public class BusinessCircle implements Serializable {

    /**
     * ID
     */
    @ApiModelProperty("id")
    private Integer id;

    /**
     * 创建时间
     */
    @ApiModelProperty("创建时间")
    private Date createTime;

    /**
     * 修改时间
     */
    @ApiModelProperty("修改时间")
    private Date modifyTime;

    /**
     * 创建人
     */
    @ApiModelProperty("创建人")
    private String createBy;

    /**
     * 修改人
     */
    @ApiModelProperty("修改人")
    private String modifyBy;

    /**
     * 是否删除（0：否 1：是）
     */
    @ApiModelProperty("是否删除（0：否  1：是）")
    private Boolean deleted;

    /**
     * 内容
     */
    @ApiModelProperty("内容")
    private String content;

    /**
     * 用户id
     */
    @ApiModelProperty("用户id 必传")
    private String userId;

    /**
     * 图片
     */
    @ApiModelProperty("图片")
    private String imgUrl;

    /**
     * 地理位置名称
     */
    @ApiModelProperty("地理位置名称")
    private String positionName;

    /**
     * 经度
     */
    @ApiModelProperty("经度")
    private String longitude;

    /**
     * 纬度
     */
    @ApiModelProperty("纬度")
    private String latitude;

    /**
     * 类型（0：商品 1：生活）
     */
    @ApiModelProperty("类型（0：商品  1：生活）必传")
    private Integer tableType;

    /**
     * 实体ID（对应的信息表ID）
     */
    @ApiModelProperty(value = "实体ID（对应的信息表ID）必传")
    private Integer tableId;

    /**
     * 成本价
     */
    @ApiModelProperty("成本价 必传")
    private BigDecimal originalPrice;

    /**
     * 零售价
     */
    @ApiModelProperty("零售价 必传")
    private BigDecimal retailPrice;

    /**
     * 促销价
     */
    @ApiModelProperty("促销价")
    private BigDecimal discountPrice;

    /**
     * 商品名字
     */
    @ApiModelProperty("商品名字")
    private String commodityName;

    /**
     * 商品编码
     */
    @ApiModelProperty("商品编码")
    private String commodityCode;

    /**
     * 商品类型
     */
    @ApiModelProperty("商品类型")
    private String commodityType;
    /**
     * 商品标题
     */
    @ApiModelProperty("商品标题")
    private String commodityTitle;

    /**
     * 商品描述
     */
    @ApiModelProperty("商品描述")
    private String commodityDescribe;

    /**
     * 规格
     */
    @ApiModelProperty("规格")
    private String commodityUnit;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public String getModifyBy() {
        return modifyBy;
    }

    public void setModifyBy(String modifyBy) {
        this.modifyBy = modifyBy;
    }

    public Boolean getDeleted() {
        return deleted;
    }

    public void setDeleted(Boolean deleted) {
        this.deleted = deleted;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public String getPositionName() {
        return positionName;
    }

    public void setPositionName(String positionName) {
        this.positionName = positionName;
    }

    public String getLongitude() {
        return longitude;
    }

    public void setLongitude(String longitude) {
        this.longitude = longitude;
    }

    public String getLatitude() {
        return latitude;
    }

    public void setLatitude(String latitude) {
        this.latitude = latitude;
    }

    public Integer getTableType() {
        return tableType;
    }

    public void setTableType(Integer tableType) {
        this.tableType = tableType;
    }

    public Integer getTableId() {
        return tableId;
    }

    public void setTableId(Integer tableId) {
        this.tableId = tableId;
    }

    public BigDecimal getOriginalPrice() {
        return originalPrice;
    }

    public void setOriginalPrice(BigDecimal originalPrice) {
        this.originalPrice = originalPrice;
    }

    public BigDecimal getRetailPrice() {
        return retailPrice;
    }

    public void setRetailPrice(BigDecimal retailPrice) {
        this.retailPrice = retailPrice;
    }

    public BigDecimal getDiscountPrice() {
        return discountPrice;
    }

    public void setDiscountPrice(BigDecimal discountPrice) {
        this.discountPrice = discountPrice;
    }

    public String getCommodityName() {
        return commodityName;
    }

    public void setCommodityName(String commodityName) {
        this.commodityName = commodityName;
    }

    public String getCommodityCode() {
        return commodityCode;
    }

    public void setCommodityCode(String commodityCode) {
        this.commodityCode = commodityCode;
    }

    public String getCommodityType() {
        return commodityType;
    }

    public void setCommodityType(String commodityType) {
        this.commodityType = commodityType;
    }

    public String getCommodityTitle() {
        return commodityTitle;
    }

    public void setCommodityTitle(String commodityTitle) {
        this.commodityTitle = commodityTitle;
    }

    public String getCommodityDescribe() {
        return commodityDescribe;
    }

    public void setCommodityDescribe(String commodityDescribe) {
        this.commodityDescribe = commodityDescribe;
    }

    public String getCommodityUnit() {
        return commodityUnit;
    }

    public void setCommodityUnit(String commodityUnit) {
        this.commodityUnit = commodityUnit;
    }

    @Override
    public String toString() {
        return "BusinessCircle{"
                + "id="
                + id
                + ", createTime="
                + createTime
                + ", modifyTime="
                + modifyTime
                + ", createBy='"
                + createBy
                + '\''
                + ", modifyBy='"
                + modifyBy
                + '\''
                + ", deleted="
                + deleted
                + ", content='"
                + content
                + '\''
                + ", userId='"
                + userId
                + '\''
                + ", imgUrl='"
                + imgUrl
                + '\''
                + ", positionName='"
                + positionName
                + '\''
                + ", longitude='"
                + longitude
                + '\''
                + ", latitude='"
                + latitude
                + '\''
                + ", tableType="
                + tableType
                + ", tableId="
                + tableId
                + ", originalPrice="
                + originalPrice
                + ", retailPrice="
                + retailPrice
                + ", discountPrice="
                + discountPrice
                + ", commodityName='"
                + commodityName
                + '\''
                + ", commodityCode='"
                + commodityCode
                + '\''
                + ", commodityType='"
                + commodityType
                + '\''
                + ", commodityTitle='"
                + commodityTitle
                + '\''
                + ", commodityDescribe='"
                + commodityDescribe
                + '\''
                + ", commodityUnit='"
                + commodityUnit
                + '\''
                + '}';
    }
}
